package com.woniu.exception.venueInfo;

public enum VenueInfoExceptionCode {
    VENUE_INFO_NOT_EXIST(70001, "场馆信息不存在"),
    VENUE_INFO_STATE_ERROR(70002, "场馆状态错误"),
    VENUE_INFO_HAD_EXIST(70003, "场馆已存在"),
    VENUE_INFO_ADD_FAIL(70004, "场馆信息新增失败"),
    ;


    private final Integer code;
    private final String message;

    VenueInfoExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
